<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Logmein Demo</title>
<script src="js/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="js/plugin/jquery-ui-1.8.12.custom.min.js"
	type="text/javascript"></script>
<script src="js/plugin/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
<link href="css/jquery/jquery.ui.all.css" rel="stylesheet"></link>
<link href="css/jquery/jquery.ui.dialog.css" rel="stylesheet"></link>
<link rel="stylesheet" href="css/structure.css" type="text/css" />
<link rel="stylesheet" href="css/form.css" type="text/css" />
<link rel="stylesheet" href="css/theme.css" type="text/css" />

<script>
	$(document).ready(function() {
		loadInstantChat();
	});
</script>

<script type="text/javascript"
	src="https://secure.logmeinrescue.com/InstantChat/InstantChat.aspx"></script>
<script type="text/javascript">
	function loadInstantChat() {
		var ICLoader = new RescueInstantChatLoader();
		ICLoader.ICContainer = "ICContainer";
		ICLoader.HostedCSS = "https://www.logmein.com.tw/logmein/css/InstantChat.css";
		ICLoader.HostedLanguagesForChatOnlyMode = "https://www.logmein.com.tw/logmein/js/LanguagesForChatOnlyMode.js";
		ICLoader.HostedLanguagesForAppletMode = "https://secure.logmeinrescue.com/InstantChat/LanguagesForAppletMode.js";
		ICLoader.EntryID = "931954025";
		ICLoader.Name = "Noname"; /* optional */
		//ICLoader.Comment1 = document.getElementById("Comment2").value; /* optional */
		//ICLoader.Comment2 = document.getElementById("Comment3").value; /* optional */
		//ICLoader.Comment3 = document.getElementById("Comment3").value; /* optional */
		//ICLoader.Comment4 = document.getElementById("Comment4").value; /* optional */
		//ICLoader.Comment5 = document.getElementById("Comment5").value; /* optional */
		ICLoader.Tracking0 = ""; /* optional */
		ICLoader.Language = "zh-tw"; /* optional */
		ICLoader.HostedErrorHandler = function(ErrorName) {
		} /* optional */
		ICLoader.Start();
	}
	function handleRebootOrRefresh() {
		if ((window.location + "").indexOf("rescuewebsessionid") != -1) {
			document.getElementById("ICContainer").style.display = "";
			loadInstantChat();
		} /* optional */
		if (window.location.hash.length == webSessionIdLength + 1) {
			document.getElementById("ICContainer").style.display = "";
			loadInstantChat();
		} /* optional */
	}
</script>
</head>
<body id="public" onload="handleRebootOrRefresh();">

	<div id="ICContainer"
		style="position: absolute; left: 30%; top: 30%; width: 560px; height: 240px;"></div>
</body>